<html>
<head><meta charset="utf-8"><title>SimplifyCfg-qualify-consts · t-compiler/wg-mir-opt · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/index.html">t-compiler/wg-mir-opt</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/SimplifyCfg-qualify-consts.html">SimplifyCfg-qualify-consts</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="192713267"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/SimplifyCfg-qualify-consts/near/192713267" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/SimplifyCfg-qualify-consts.html#192713267">(Apr 02 2020 at 19:22)</a>:</h4>
<p><span class="user-mention" data-user-id="118594">@ecstatic-morse</span> <span class="user-mention" data-user-id="125250">@Wesley Wiser</span> hmm, we still have a <code>SimplifyCfg-qualify-consts</code> but const-qualification isn't a transformation pass anymore, shouldn't the <code>SimplifyCfg</code> be for <code>PromoteTemps</code>?</p>



<a name="192713298"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/SimplifyCfg-qualify-consts/near/192713298" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/SimplifyCfg-qualify-consts.html#192713298">(Apr 02 2020 at 19:22)</a>:</h4>
<p>also, should <code>PromoteTemps</code> be called <code>PromoteConsts</code> or <code>PromoteConstTemps</code>?</p>



<a name="192714206"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/SimplifyCfg-qualify-consts/near/192714206" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dylan MacKenzie (ecstatic-morse) <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/SimplifyCfg-qualify-consts.html#192714206">(Apr 02 2020 at 19:29)</a>:</h4>
<p><span class="user-mention" data-user-id="119009">@eddyb</span> That's correct. To be clear, it's just the display name that's wrong, we still run <code>SimplifyCfg</code> after <code>PromoteTemps</code>.</p>



<a name="192714221"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/189540-t-compiler/wg-mir-opt/topic/SimplifyCfg-qualify-consts/near/192714221" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/189540-t-compiler/wg-mir-opt/topic/SimplifyCfg-qualify-consts.html#192714221">(Apr 02 2020 at 19:29)</a>:</h4>
<p>good good</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>